
package com.ultrasoft.farmasoft.repository;
import java.util.List;
import com.ultrasoft.farmasoft.domain.Locality;

public interface LocalityDao {
	public List<Locality> getLocality();
	public List<Locality> getLocalityListByRegionIdByActive(Integer regionId,boolean active); 
	public void remove(Locality locality);
    public void update(Locality locality);
    public void add(Locality locality);
	public Locality findLocalityByRegionIdByLocalityId(Integer regionId ,Short localityId);
	public short getLocalityIdMax(Integer regionId);
}

